package com.jk.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class OrderandItem implements Serializable {


    private Long id;
    private String order_id;
    private String product_id;
    private Integer num;
    private String product_image;
    private String product_name;
    private Double product_price;

    //private String order_id;//order_id
    private Double order_money;//order_money
    private String order_receiverinfo;//order_receiverinfo
    private Integer order_paystate;//order_paystate 	待付款0 待发货1 已发货2 已完成3  已关闭4
    private String  order_time;//order_time
    private String user_id;//user_id
    private String user_name;//user_name
    private Integer stateofpayment;
    private String order_numbered;
    private List<OrderItem> orderItems;//体现一对多关系的属性

    private String  consignee_name;
    private String  consignee_phone;
    private String  consignee_address;

}
